package parse

import "strconv"

// StringToInt translator string to int
func StringToInt(input string) int {
	if input == "" {
		return 0
	}
	output, _ := strconv.Atoi(input)
	return output
}
